package com.podcstr.dao;

import com.podcstr.entity.Category;

import java.util.List;

/**
 * @author azim
 * @since 5/16/13 
 */
public interface CategoryDao extends GenericDao<Category, Long> {

    Category findCategoryByName(String categortName);

    List<Category> fingParentCategories();

    List<Category> fingChildCategories(Long parentId);
}
